package com.second.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @program: clms-second
 * @description: 订单主启动类
 * @author: Lv Yongqi
 * @create: 2021-07-30 19:35
 * @EnableFeignClients 开启服务调用
 **/
@SpringBootApplication
@ComponentScan(value = "com.second")
@MapperScan("com.second.order.dao")
@EnableFeignClients
public class OrderApp {
    public static void main(String[] args) {
        SpringApplication.run(OrderApp.class,args);
    }
}
